configuration script for laurel
fix complation error