Added os_hald and ASSERT implementation
Also small changes in Makefile