added basic platform detection and platform specific settings...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>