Rediced the number of cross compiling