Synced with Swifty Page Manager build system.