compiling for all versions