Added support for platform specific build parameters.

Signed-off-by: Frank Mertens <frank@cyblogic.de>