Platform: Fix incorrect getTime() return value on Linux
Update makefiles

Added target 'all'.