Changed build for different platforms.