Moved to maven build system and Unix compat