Fixed building on Macintosh and Linux
Merge pull request #1 from MazterQyou/fix

Fixed building on Macintosh and Linux