Changed Shared header

renamed global header and changed winAPI macro to DEFINE ENGINE_SHARED =
TEAPI