Some cflags fixes and added dev folders