Additionally it might make sense to look into using autotools for proper cross-platform building support.