Specify build flags per build type.
Added build type specific link flags.