Fixes #102, 'invalid platform' error when building package.