fixes for python compile and cleanup
cleanup space after java installation