Fix build errors when using optional switches.
Merge pull request #2 from readium/feature/minified_build

Fix build errors when using optional switches.