Make sure manifest compilation works with API 17.
Merge pull request #1053 from paymand/manifest_compilation_fix

Make sure manifest compilation works with API 17.