Added option to compile without extension