Merge pull request #240 from fgsch/fail-on-unsupported-opt

Error out if -p is used on unsupported platforms