Linux build

Made platform.h for crossplatform compilation